package com.zh.tea.service;

import com.github.pagehelper.PageInfo;
import com.zh.tea.entity.News;

public interface NewsService {
	public PageInfo<News> getNews(String teano,Integer pagenum,Integer pagesize);//获取所需新闻
	public int addNews(News news);//添加新闻
	public int deleteNews(Integer nid);//删除指定新闻
	public int updateNews(News news);//更新新闻

	public int deleteNews(String teano);

	public News getOneNews(Integer nid);//根据nid获得具体新闻对象
}
